<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>张雨晴的个人主页 - AI社交</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary: #6366f1;
            --primary-light: #f0f9ff;
            --secondary: #64748b;
            --light: #f8fafc;
            --dark: #1e293b;
            --success: #10b981;
            --danger: #ef4444;
            --warning: #f59e0b;
            --border: #e2e8f0;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
        }
        
        body {
            font-family: 'Inter', system-ui, sans-serif;
            background-color: #f8fafc;
            color: var(--dark);
            line-height: 1.6;
        }
        
        .navbar {
            box-shadow: var(--shadow);
            background-color: white;
        }
        
        .container {
            padding: 2rem 0;
        }
        
        /* 头部封面图 */
        .profile-header {
            position: relative;
            height: 300px;
            background-color: var(--light);
            border-radius: 1rem;
            overflow: hidden;
            margin-bottom: -70px;
            z-index: 1;
        }
        
        .profile-cover {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* 个人资料卡片 */
        .profile-card {
            background-color: white;
            border-radius: 1rem;
            box-shadow: var(--shadow);
            padding: 2rem;
            margin-bottom: 2rem;
            position: relative;
            z-index: 2;
        }
        
        .profile-avatar-container {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .profile-avatar {
            width: 140px;
            height: 140px;
            border-radius: 50%;
            border: 5px solid white;
            object-fit: cover;
            margin-bottom: 1rem;
            box-shadow: var(--shadow);
        }
        
        .profile-name {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .profile-meta {
            color: var(--secondary);
            margin-bottom: 1rem;
            text-align: center;
        }
        
        .match-badge {
            background-color: var(--primary-light);
            color: var(--primary);
            padding: 0.25rem 0.75rem;
            border-radius: 999px;
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }
        
        .profile-actions {
            display: flex;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .btn-primary {
            background-color: var(--primary);
            border-color: var(--primary);
        }
        
        .btn-primary:hover {
            background-color: #4f46e5;
            border-color: #4f46e5;
        }
        
        .btn-outline-primary {
            color: var(--primary);
            border-color: var(--primary);
        }
        
        .btn-outline-primary:hover {
            background-color: var(--primary);
            color: white;
        }
        
        /* 个人信息详情 */
        .profile-details {
            background-color: white;
            border-radius: 1rem;
            box-shadow: var(--shadow);
            padding: 2rem;
            margin-bottom: 2rem;
        }
        
        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid var(--primary-light);
        }
        
        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .info-item {
            display: flex;
            flex-direction: column;
        }
        
        .info-label {
            color: var(--secondary);
            font-size: 0.9rem;
            margin-bottom: 0.25rem;
        }
        
        .info-value {
            font-weight: 500;
        }
        
        .bio-content {
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }
        
        .tag-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }
        
        .tag-item {
            background-color: var(--light);
            border: 1px solid var(--border);
            border-radius: 999px;
            padding: 0.35rem 1rem;
            font-size: 0.875rem;
        }
        
        /* 照片展示区 */
        .photo-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .gallery-item {
            border-radius: 0.5rem;
            overflow: hidden;
            height: 200px;
            position: relative;
            cursor: pointer;
        }
        
        .gallery-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }
        
        .gallery-item:hover .gallery-image {
            transform: scale(1.05);
        }
        
        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
            color: white;
        }
        
        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }
        
        /* 留言区 */
        .messages-section {
            background-color: white;
            border-radius: 1rem;
            box-shadow: var(--shadow);
            padding: 2rem;
        }
        
        .message-form {
            margin-bottom: 2rem;
        }
        
        .message-input {
            border-radius: 0.75rem;
            padding: 1rem;
            border-color: var(--border);
            margin-bottom: 1rem;
            resize: none;
        }
        
        .message-input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }
        
        .message-actions {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
        }
        
        .message-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .message-item {
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border);
        }
        
        .message-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.75rem;
        }
        
        .message-author {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        
        .author-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .author-name {
            font-weight: 600;
        }
        
        .message-time {
            color: var(--secondary);
            font-size: 0.875rem;
        }
        
        .message-content {
            margin-bottom: 0.75rem;
            line-height: 1.7;
        }
        
        .message-footer {
            display: flex;
            gap: 1.5rem;
            font-size: 0.875rem;
        }
        
        .message-action {
            color: var(--secondary);
            display: flex;
            align-items: center;
            gap: 0.25rem;
            cursor: pointer;
            transition: color 0.2s;
        }
        
        .message-action:hover {
            color: var(--primary);
        }
        
        .message-action.liked {
            color: var(--danger);
        }
        
        /* 回复区 */
        .replies-section {
            margin-left: 2rem;
            margin-top: 1rem;
            padding-left: 1rem;
            border-left: 2px solid var(--light);
        }
        
        .reply-item {
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border);
        }
        
        .reply-form {
            margin-top: 1rem;
            display: flex;
            gap: 0.75rem;
        }
        
        .reply-input {
            flex: 1;
            border-radius: 999px;
            padding: 0.5rem 1rem;
            border-color: var(--border);
        }
        
        .reply-btn {
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 999px;
            padding: 0 1rem;
            white-space: nowrap;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .profile-header {
                height: 200px;
                margin-bottom: -50px;
            }
            
            .profile-avatar {
                width: 100px;
                height: 100px;
            }
            
            .profile-actions {
                flex-direction: column;
            }
            
            .photo-gallery {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
            
            .gallery-item {
                height: 150px;
            }
            
            .info-grid {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg navbar-light">
        <div class="container">
            <a class="navbar-brand" href="#">
                <i class="fas fa-robot text-primary me-2"></i>AI社交
            </a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav me-auto">
                    <li class="nav-item">
                        <a class="nav-link" href="#">首页</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="#">AI推荐</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">发现</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">消息</a>
                    </li>
                </ul>
                <div class="d-flex align-items-center gap-3">
                    <button class="btn btn-outline-primary">登录</button>
                    <button class="btn btn-primary">注册</button>
                </div>
            </div>
        </div>
    </nav>
    
    <!-- 主要内容区 -->
    <div class="container">
        <!-- 头部封面图 -->
        <div class="profile-header">
            <img src="https://picsum.photos/1200/400?random=100" alt="张雨晴的封面照片" class="profile-cover">
        </div>
        
        <!-- 个人资料卡片 -->
        <div class="profile-card">
            <div class="profile-avatar-container">
                <img src="https://picsum.photos/200/200?random=10" alt="张雨晴的头像" class="profile-avatar">
                <h1 class="profile-name">张雨晴</h1>
                <p class="profile-meta">26岁 · 上海 · 旅行博主</p>
                <div class="match-badge">与你匹配度 92%</div>
                <div class="profile-actions">
                    <button class="btn btn-primary">
                        <i class="fas fa-comment-dots me-2"></i>立即联系
                    </button>
                    <button class="btn btn-outline-primary">
                        <i class="fas fa-user-plus me-2"></i>加为好友
                    </button>
                    <button class="btn btn-outline-primary">
                        <i class="fas fa-bookmark me-2"></i>收藏
                    </button>
                </div>
                <div class="d-flex gap-3 text-center">
                    <div class="flex-1">
                        <div class="fs-5 fw-bold">128</div>
                        <div class="text-secondary fs-sm">粉丝</div>
                    </div>
                    <div class="flex-1">
                        <div class="fs-5 fw-bold">42</div>
                        <div class="text-secondary fs-sm">关注</div>
                    </div>
                    <div class="flex-1">
                        <div class="fs-5 fw-bold">528</div>
                        <div class="text-secondary fs-sm">浏览</div>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="row gap-2">
            <!-- 左侧：个人信息详情 -->
            <div class="col-lg-8">
                <!-- 基本信息 -->
                <div class="profile-details">
                    <h2 class="section-title">关于我</h2>
                    <div class="bio-content">
                        <p>大家好！我是雨晴，一名全职旅行博主和摄影师。过去3年，我走过了20多个国家和地区，最喜欢探索那些不为人知的小众目的地。</p>
                        <p>我相信旅行不仅是看风景，更是体验不同的文化和生活方式。希望能在这里找到志同道合的旅行伙伴，一起规划下一次精彩的旅程！</p>
                    </div>
                    
                    <h3 class="section-title">基本信息</h3>
                    <div class="info-grid">
                        <div class="info-item">
                            <span class="info-label">性别</span>
                            <span class="info-value">女</span>
                        </div>
                        <div class="info-item">
                            <span class="info-label">年龄</span>
                            <span class="info-value">26岁</span>
                        </div>
                        <div class="info-item">
                            <span class="info-label">所在地</span>
                            <span class="info-value">上海</span>
                        </div>
                        <div class="info-item">
                            <span class="info-label">职业</span>
                            <span class="info-value">旅行博主 / 摄影师</span>
                        </div>
                        <div class="info-item">
                            <span class="info-label">学历</span>
                            <span class="info-value">本科</span>
                        </div>
                        <div class="info-item">
                            <span class="info-label">星座</span>
                            <span class="info-value">天秤座</span>
                        </div>
                        <div class="info-item">
                            <span class="info-label">身高</span>
                            <span class="info-value">165cm</span>
                        </div>
                        <div class="info-item">
                            <span class="info-label">最后登录</span>
                            <span class="info-value">今天 10:23</span>
                        </div>
                    </div>
                    
                    <h3 class="section-title">兴趣爱好</h3>
                    <div class="tag-list">
                        <span class="tag-item">旅行</span>
                        <span class="tag-item">摄影</span>
                        <span class="tag-item">美食探店</span>
                        <span class="tag-item">户外徒步</span>
                        <span class="tag-item">潜水</span>
                        <span class="tag-item">阅读</span>
                        <span class="tag-item">咖啡馆</span>
                        <span class="tag-item">纪录片</span>
                    </div>
                    
                    <h3 class="section-title">社交目的</h3>
                    <div class="tag-list">
                        <span class="tag-item">旅行伙伴</span>
                        <span class="tag-item">摄影交流</span>
                        <span class="tag-item">兴趣朋友</span>
                    </div>
                </div>
                
                <!-- 照片展示 -->
                <div class="profile-details">
                    <h2 class="section-title">照片墙</h2>
                    <div class="photo-gallery">
                        <div class="gallery-item">
                            <img src="https://picsum.photos/400/400?random=1" alt="旅行照片1" class="gallery-image">
                            <div class="gallery-overlay">
                                <i class="fas fa-search-plus fa-2x"></i>
                            </div>
                        </div>
                        <div class="gallery-item">
                            <img src="https://picsum.photos/400/400?random=2" alt="旅行照片2" class="gallery-image">
                            <div class="gallery-overlay">
                                <i class="fas fa-search-plus fa-2x"></i>
                            </div>
                        </div>
                        <div class="gallery-item">
                            <img src="https://picsum.photos/400/400?random=3" alt="旅行照片3" class="gallery-image">
                            <div class="gallery-overlay">
                                <i class="fas fa-search-plus fa-2x"></i>
                            </div>
                        </div>
                        <div class="gallery-item">
                            <img src="https://picsum.photos/400/400?random=4" alt="旅行照片4" class="gallery-image">
                            <div class="gallery-overlay">
                                <i class="fas fa-search-plus fa-2x"></i>
                            </div>
                        </div>
                        <div class="gallery-item">
                            <img src="https://picsum.photos/400/400?random=5" alt="旅行照片5" class="gallery-image">
                            <div class="gallery-overlay">
                                <i class="fas fa-search-plus fa-2x"></i>
                            </div>
                        </div>
                        <div class="gallery-item">
                            <img src="https://picsum.photos/400/400?random=6" alt="旅行照片6" class="gallery-image">
                            <div class="gallery-overlay">
                                <i class="fas fa-search-plus fa-2x"></i>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 留言区 -->
                <div class="messages-section">
                    <h2 class="section-title">留言板</h2>
                    
                    <!-- 留言表单 -->
                    <div class="message-form">
                        <textarea class="form-control message-input" rows="3" placeholder="写下你想对她说的话..."></textarea>
                        <div class="message-actions">
                            <button class="btn btn-outline-primary">
                                <i class="fas fa-image me-2"></i>添加图片
                            </button>
                            <button class="btn btn-primary">
                                <i class="fas fa-paper-plane me-2"></i>发送留言
                            </button>
                        </div>
                    </div>
                    
                    <!-- 留言列表 -->
                    <div class="message-list">
                        <!-- 留言1 -->
                        <div class="message-item">
                            <div class="message-header">
                                <div class="message-author">
                                    <img src="https://picsum.photos/100/100?random=20" alt="李哲的头像" class="author-avatar">
                                    <div>
                                        <div class="author-name">李哲</div>
                                        <div class="message-time">3天前</div>
                                    </div>
                                </div>
                            </div>
                            <div class="message-content">
                                你的旅行照片拍得太棒了！特别是那张日出的照片，是在哪里拍的？我也很喜欢旅行摄影，希望有机会能交流一下经验。
                            </div>
                            <div class="message-footer">
                                <div class="message-action like-btn">
                                    <i class="fas fa-heart"></i> 12
                                </div>
                                <div class="message-action reply-btn">
                                    <i class="fas fa-reply"></i> 回复
                                </div>
                            </div>
                            
                            <!-- 回复区 -->
                            <div class="replies-section">
                                <div class="reply-item">
                                    <div class="message-header">
                                        <div class="message-author">
                                            <img src="https://picsum.photos/100/100?random=10" alt="张雨晴的头像" class="author-avatar">
                                            <div>
                                                <div class="author-name">张雨晴 <span class="text-primary">(作者)</span></div>
                                                <div class="message-time">2天前</div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="message-content">
                                        谢谢喜欢！那张照片是在青海湖拍的，凌晨5点起床才拍到的，确实很值得~ 很高兴认识 fellow 摄影爱好者，欢迎多交流！
                                    </div>
                                    <div class="message-footer">
                                        <div class="message-action like-btn">
                                            <i class="fas fa-heart"></i> 5
                                        </div>
                                        <div class="message-action reply-btn">
                                            <i class="fas fa-reply"></i> 回复
                                        </div>
                                    </div>
                                </div>
                                
                                <!-- 回复表单 -->
                                <div class="reply-form">
                                    <img src="https://picsum.photos/100/100?random=99" alt="当前用户头像" class="author-avatar" style="width: 30px; height: 30px;">
                                    <input type="text" class="form-control reply-input" placeholder="回复 @李哲...">
                                    <button class="reply-btn">回复</button>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 留言2 -->
                        <div class="message-item">
                            <div class="message-header">
                                <div class="message-author">
                                    <img src="https://picsum.photos/100/100?random=30" alt="王建国的头像" class="author-avatar">
                                    <div>
                                        <div class="author-name">王建国</div>
                                        <div class="message-time">1周前</div>
                                    </div>
                                </div>
                            </div>
                            <div class="message-content">
                                下个月我计划去云南旅行，你有什么小众景点推荐吗？看了你的旅行攻略，感觉你对小众目的地很有研究。
                            </div>
                            <div class="message-footer">
                                <div class="message-action like-btn">
                                    <i class="far fa-heart"></i> 8
                                </div>
                                <div class="message-action reply-btn">
                                    <i class="fas fa-reply"></i> 回复
                                </div>
                            </div>
                            
                            <!-- 回复表单 -->
                            <div class="reply-form">
                                <img src="https://picsum.photos/100/100?random=99" alt="当前用户头像" class="author-avatar" style="width: 30px; height: 30px;">
                                <input type="text" class="form-control reply-input" placeholder="回复 @王建国...">
                                <button class="reply-btn">回复</button>
                            </div>
                        </div>
                        
                        <!-- 留言3 -->
                        <div class="message-item">
                            <div class="message-header">
                                <div class="message-author">
                                    <img src="https://picsum.photos/100/100?random=40" alt="刘阳的头像" class="author-avatar">
                                    <div>
                                        <div class="author-name">刘阳</div>
                                        <div class="message-time">2周前</div>
                                    </div>
                                </div>
                            </div>
                            <div class="message-content">
                                我也是上海的，最近打算周末去周边短途旅行，有没有什么适合1-2天的好地方推荐？
                            </div>
                            <div class="message-footer">
                                <div class="message-action like-btn liked">
                                    <i class="fas fa-heart"></i> 15
                                </div>
                                <div class="message-action reply-btn">
                                    <i class="fas fa-reply"></i> 回复
                                </div>
                            </div>
                            
                            <!-- 回复区 -->
                            <div class="replies-section">
                                <div class="reply-item">
                                    <div class="message-header">
                                        <div class="message-author">
                                            <img src="https://picsum.photos/100/100?random=10" alt="张雨晴的头像" class="author-avatar">
                                            <div>
                                                <div class="author-name">张雨晴 <span class="text-primary">(作者)</span></div>
                                                <div class="message-time">2周前</div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="message-content">
                                        推荐你去绍兴！离上海很近，高铁1小时左右。可以逛鲁迅故里，还能坐船游东湖，晚上住仓桥直街的民宿，很有感觉~
                                    </div>
                                    <div class="message-footer">
                                        <div class="message-action like-btn">
                                            <i class="fas fa-heart"></i> 7
                                        </div>
                                        <div class="message-action reply-btn">
                                            <i class="fas fa-reply"></i> 回复
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 分页 -->
                    <div class="pagination-container" style="margin-top: 2rem;">
                        <ul class="pagination">
                            <li class="page-item disabled">
                                <a class="page-link" href="#" aria-label="Previous">
                                    <i class="fas fa-chevron-left"></i>
                                </a>
                            </li>
                            <li class="page-item active"><a class="page-link" href="#">1</a></li>
                            <li class="page-item"><a class="page-link" href="#">2</a></li>
                            <li class="page-item"><a class="page-link" href="#">3</a></li>
                            <li class="page-item">
                                <a class="page-link" href="#" aria-label="Next">
                                    <i class="fas fa-chevron-right"></i>
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
            
            <!-- 右侧：推荐和相关信息 -->
            <div class="col-lg-4">
                <!-- 匹配度分析 -->
                <div class="profile-details">
                    <h2 class="section-title">匹配度分析</h2>
                    <div class="mb-3">
                        <div class="d-flex justify-content-between mb-1">
                            <span>总体匹配度</span>
                            <span class="fw-bold">92%</span>
                        </div>
                        <div class="progress" style="height: 8px;">
                            <div class="progress-bar bg-primary" role="progressbar" style="width: 92%" aria-valuenow="92" aria-valuemin="0" aria-valuemax="100"></div>
                        </div>
                    </div>
                    
                    <div class="mb-3">
                        <div class="d-flex justify-content-between mb-1">
                            <span>兴趣相似度</span>
                            <span class="fw-bold">95%</span>
                        </div>
                        <div class="progress" style="height: 8px;">
                            <div class="progress-bar bg-success" role="progressbar" style="width: 95%" aria-valuenow="95" aria-valuemin="0" aria-valuemax="100"></div>
                        </div>
                    </div>
                    
                    <div class="mb-3">
                        <div class="d-flex justify-content-between mb-1">
                            <span>性格匹配度</span>
                            <span class="fw-bold">88%</span>
                        </div>
                        <div class="progress" style="height: 8px;">
                            <div class="progress-bar bg-warning" role="progressbar" style="width: 88%" aria-valuenow="88" aria-valuemin="0" aria-valuemax="100"></div>
                        </div>
                    </div>
                    
                    <div>
                        <div class="d-flex justify-content-between mb-1">
                            <span>生活方式相似度</span>
                            <span class="fw-bold">85%</span>
                        </div>
                        <div class="progress" style="height: 8px;">
                            <div class="progress-bar bg-info" role="progressbar" style="width: 85%" aria-valuenow="85" aria-valuemin="0" aria-valuemax="100"></div>
                        </div>
                    </div>
                    
                    <button class="btn btn-outline-primary w-100 mt-3">
                        <i class="fas fa-chart-pie me-2"></i>查看详细匹配分析
                    </button>
                </div>
                
                <!-- 相似推荐 -->
                <div class="profile-details">
                    <h2 class="section-title">相似推荐</h2>
                    <div class="d-flex flex-column gap-3">
                        <div class="d-flex gap-3">
                            <img src="https://picsum.photos/100/100?random=50" alt="陈明的头像" class="author-avatar">
                            <div>
                                <div class="author-name">陈明</div>
                                <div class="message-time">28岁 · 摄影师</div>
                                <div class="match-badge" style="margin-bottom: 0; font-size: 0.8rem;">匹配度 89%</div>
                            </div>
                        </div>
                        <div class="d-flex gap-3">
                            <img src="https://picsum.photos/100/100?random=60" alt="林小燕的头像" class="author-avatar">
                            <div>
                                <div class="author-name">林小燕</div>
                                <div class="message-time">25岁 · 旅行作家</div>
                                <div class="match-badge" style="margin-bottom: 0; font-size: 0.8rem;">匹配度 87%</div>
                            </div>
                        </div>
                        <div class="d-flex gap-3">
                            <img src="https://picsum.photos/100/100?random=70" alt="赵宇的头像" class="author-avatar">
                            <div>
                                <div class="author-name">赵宇</div>
                                <div class="message-time">30岁 · 户外领队</div>
                                <div class="match-badge" style="margin-bottom: 0; font-size: 0.8rem;">匹配度 85%</div>
                            </div>
                        </div>
                    </div>
                    <button class="btn btn-outline-primary w-100 mt-3">
                        <i class="fas fa-users me-2"></i>查看更多推荐
                    </button>
                </div>
                
                <!-- 近期动态 -->
                <div class="profile-details">
                    <h2 class="section-title">近期动态</h2>
                    <div class="mb-3">
                        <div class="message-time mb-2">3天前</div>
                        <p>刚从福建霞浦回来，那里的滩涂摄影简直太棒了！整理了一组照片，分享给大家~</p>
                        <div class="mt-2 d-flex gap-1">
                            <img src="https://picsum.photos/100/100?random=81" alt="动态照片1" style="width: 70px; height: 70px; object-fit: cover; border-radius: 0.25rem;">
                            <img src="https://picsum.photos/100/100?random=82" alt="动态照片2" style="width: 70px; height: 70px; object-fit: cover; border-radius: 0.25rem;">
                            <img src="https://picsum.photos/100/100?random=83" alt="动态照片3" style="width: 70px; height: 70px; object-fit: cover; border-radius: 0.25rem;">
                        </div>
                    </div>
                    <div>
                        <div class="message-time mb-2">1周前</div>
                        <p>分享一个旅行小技巧：如何在热门景点避开人群拍出空镜？下周会出一个详细教程~</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 点赞功能
            const likeBtns = document.querySelectorAll('.like-btn');
            likeBtns.forEach(btn => {
                btn.addEventListener('click', function() {
                    const icon = this.querySelector('i');
                    
                    if (this.classList.contains('liked')) {
                        // 取消点赞
                        this.classList.remove('liked');
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        
                        // 更新点赞数
                        if (this.textContent.trim().match(/\d+/)) {
                            let count = parseInt(this.textContent.trim().match(/\d+/)[0]);
                            this.innerHTML = `<i class="${icon.classList.value}"></i> ${count - 1}`;
                        }
                    } else {
                        // 点赞
                        this.classList.add('liked');
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        
                        // 更新点赞数
                        if (this.textContent.trim().match(/\d+/)) {
                            let count = parseInt(this.textContent.trim().match(/\d+/)[0]);
                            this.innerHTML = `<i class="${icon.classList.value}"></i> ${count + 1}`;
                        }
                    }
                });
            });
            
            // 回复按钮功能
            const replyBtns = document.querySelectorAll('.reply-btn');
            replyBtns.forEach(btn => {
                btn.addEventListener('click', function() {
                    const messageItem = this.closest('.message-item, .reply-item');
                    const replyForm = messageItem.querySelector('.reply-form');
                    
                    // 如果回复框已存在，则聚焦
                    if (replyForm) {
                        replyForm.querySelector('.reply-input').focus();
                    }
                });
            });
            
            // 分页功能
            const pageLinks = document.querySelectorAll('.page-link:not([aria-label])');
            pageLinks.forEach(link => {
                link.addEventListener('click', function(e) {
                    e.preventDefault();
                    
                    // 移除所有活跃状态
                    document.querySelectorAll('.page-item').forEach(item => {
                        item.classList.remove('active');
                    });
                    
                    // 添加当前页活跃状态
                    this.parentElement.classList.add('active');
                });
            });
        });
    </script>
</body>
</html>
    
